import Layout from '@/layout'

const business = {
  path: '/business',
  component: Layout,
  redirect: 'noRedirect',
  name: 'business',
  meta: {
    title: '业务管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'order-manage',
      component: () => import('@/views/business/order-manage/index'),
      name: 'OrderManage',
      meta: { title: '订单管理', noCache: true }
    },
    {
      path: 'waybill',
      component: () => import('@/views/business/waybill/index'),
      name: 'Waybill',
      meta: { title: '运单列表', noCache: true }
    }
  ]
}

export default business
